package top.lethelh.jianoa.db.dao;

import org.apache.ibatis.annotations.Mapper;
import top.lethelh.jianoa.db.pojo.TbDept;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @Entity top.lethelh.jianoa.db.pojo.TbDept
 */
@Mapper
public interface TbDeptMapper {
    public ArrayList<HashMap> searchDeptMembers(String keyword);
    public List<TbDept> searchAllDept();
    public int insertDept(String deptName);
    public int deleteDeptById(int id);
    public int updateDeptById(TbDept entity);
}




